Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Fri, 7 Feb 2014 15:28:24 +0000 (10:28 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Fri, 7 Feb 2014 15:28:53 +0000 (10:28 -0500)
gtk/gtkstylecontext.h

index 9e1aadcd9273aa23c9a8ba5305dfaddd4e094321..870d9c1ce14735215b8c49569a6f0e9a31603232 100644 (file)
@@ -775,6 +775,17 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_SUGGESTED_ACTION "suggested-action"
 
+/**
+ * GTK_STYLE_CLASS_DESTRUCTIVE_ACTION:
+ *
+ * A CSS class used when an action (usually a button) is
+ * one that is expected to remove or destroy something visible
+ * to the user.
+ *
+ * Since: 3.12
+ */
+#define GTK_STYLE_CLASS_DESTRUCTIVE_ACTION "destructive-action"
+
 /* Predefined set of widget regions */
 
 /**